//
//  QLFavoriteManager.h
//  WeiMiLan
//
//  Created by anan on 14/12/17.
//  Copyright (c) 2014年 Mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QLFavoriteManager : NSObject

+(QLFavoriteManager*)shareInstance;

@property (nonatomic,strong) NSMutableArray *favorites;
@property (nonatomic,strong) NSMutableDictionary *favoriteDic;

- (void)addFavoriteWithUserId:(int)userId productId:(int)productId callback:(QLHttpResultBlock)callback;
- (BOOL)isFavoriteWithUserId:(int)userId productId:(int)productId;
- (void)deleteFavoriteWithUserId:(int)userId productId:(int)productId callback:(QLHttpResultBlock)callback
;
- (void)loadAllWithUserId:(int)userId callback:(QLHttpResultBlock)callback;

@end
